﻿// <copyright file="EasyWebApp.cs" company="<Customer Name>">This is a "work-for-hire".</copyright><author><Class Author's Name></author>

/*
 *      Title:    <Class Description>
 *      Module:   ClassTemplate (<Namespace>:ClassTemplate.cs)
 *      Project:  <Project Name>
 *      Customer: <Customer Name>
 *      Facility: MicroCODE Incorporated
 *      Date:     <Class Creation Date>
 *      Author:   <Class Author's Name>
 * 
 * 
 * 
 *  
 *      MODIFICATIONS:
 *      --------------
 *
 *  Date:         By-Group:   Rev:     Description:
 *
 *  DD-Mmm-YYYY   XYZ-GROUP  {0001}    Describe reason for creating or modifying class... 
 * 
 * 
 * 
 */
using System;
using System.Collections.Generic;

namespace Org.EasyWeb.Right
{
    public class TreeNode
    {
        private int fFNID = -1;

        public int FNID
        {
            get
            {
                return fFNID;
            }
            set
            {
                fFNID = value;
            }
        }

        private int fLayer = -1;
        public int Layer
        {
            get
            {
                return fLayer;
            }
            set
            {
                fLayer = value;
            }
        }

        private bool fIsLeaf = true;
        public bool IsLeaf
        {
            get
            {
                return fIsLeaf;
            }
            set
            {
                fIsLeaf = value;
            }
        }

        private String fNodeString;
        public String NodeString
        {
            get
            {
                return fNodeString;
            }
            set
            {
                fNodeString = value;
            }
        }

        private String fName;
        public String Name
        {
            get
            {
                return fName;
            }
            set
            {
                fName = value;
            }
        }

        private List<TreeNode> fSubNodes = null;
        public List<TreeNode> SubNodes
        {
            get
            {
                return fSubNodes;
            }
            set
            {
                fSubNodes = value;
            }
        }
    }
}
